from selenium import webdriver
import selenium
from selenium.webdriver.common.action_chains import ActionChains

class baseobject():
    def __init__(self,driver,url):
        self.driver=driver
        self.url=url
    
    def get(self):
        self.driver.get(self.url)
        
    def get_element(self,*lala):
        return self.driver.find_element(*lala)
    
    def left_click(self,*lala):
        self.driver.find_element(*lala).click()
        
    def input_text(self,text,*lala):
        self.driver.find_element(*lala).send_keys(text)
    
    def exit_browser(self):
        return self.driver.close()